home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00048.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  580 b   |  29 lines

  1. on exitFrame
  2.   global lightswitch
  3.   if the movieRate of sprite 3 > 0 then
  4.     if lightswitch = 1 then
  5.       set the cursor of sprite 3 to [563, 564]
  6.     else
  7.       set the cursor of sprite 3 to [565, 566]
  8.     end if
  9.     go(the frame)
  10.   else
  11.     set the cursor of sprite 3 to -1
  12.     puppetSprite(3, 0)
  13.     updateStage()
  14.     go("Main Screen")
  15.   end if
  16. end
  17.  
  18. on keyDown
  19.   if the key = RETURN then
  20.     if the machineType = 256 then
  21.       set the movieRate of sprite 3 to 0
  22.       puppetSprite(3, 0)
  23.       go(label("little") + 1)
  24.     else
  25.       go("Main Screen")
  26.     end if
  27.   end if
  28. end
  29.